x86/NMI: allow processing unknown NMIs when watchdog is enabled
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 28 Aug 2014 14:11:37 +0000 (16:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Aug 2014 14:11:37 +0000 (16:11 +0200)
commit3ea2ba980afe7356c613c8e1ba00d223d1c25412
tree12d1729d37eed34d1837e20021b6e0155a6405d9
parent5bfbb4ddb22a3edbe962bdd8d2535a7c8eff5123
x86/NMI: allow processing unknown NMIs when watchdog is enabled

Change NMI processing so that if watchdog=force is passed on the
command-line and the NMI is not caused by a perf counter overflow (i.e.
likely not a watchdog "tick"), the NMI is handled by the unknown NMI
handler.

This allows injection of NMIs from IPMI controllers that don't set the
IOCK/SERR bits to trigger the unknown NMI handler rather than be
ignored.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Fix command line parsing (don't enable the watchdog on e.g.
"watchdog=xyz").

Signed-off-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/nmi.c
xen/arch/x86/traps.c
xen/include/asm-x86/apic.h
xen/include/asm-x86/nmi.h